package com.poetry.vup.user.service;

import com.poetry.vup.common.entity.user.VupUserInfoDO;
import com.poetry.vup.common.result.BaseResult;
import com.poetry.vup.user.domain.VupUserInfoDTO;
import com.poetry.vup.user.domain.query.Persona;
import org.springframework.web.multipart.MultipartFile;

public interface VupUserInfoService {

    BaseResult getUserInfo(Long userId);

    VupUserInfoDO findById(Long id);

    int update(VupUserInfoDTO vupUserInfoDTO);

    int addUserInfo(VupUserInfoDTO vupUserInfoDTO);

    Long uploadUserImage(Long userId, MultipartFile file);

    Long addPersona(Persona persona);
}
